@@ -95,7 +95,7 @@ module Agents |
||
95 | 95 |
if (spec = options['schedule']).present? |
96 | 96 |
begin |
97 | 97 |
cron = Rufus::Scheduler::CronLine.new(spec) |
98 |
- unless second_precision_enabled || (cron.seconds - [0, 15, 45, 60]).empty? |
|
98 |
+ unless second_precision_enabled || (cron.seconds - [0, 15, 30, 45, 60]).empty? |
|
99 | 99 |
errors.add(:base, "second precision schedule is not allowed in this service") |
100 | 100 |
end |
101 | 101 |
rescue ArgumentError |